﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonModel.Config
{
    /// <summary>
    /// Rpc配置
    /// </summary>
    public class RpcConfig
    {
        /// <summary>
        /// 主机名
        /// </summary>
        public static string HostName
        {
            get
            {
                return ConfigurationManager.AppSettings["HostName_Rpc"];
            }
        }
        /// <summary>
        /// 端口号
        /// </summary>
        public static string Port
        {
            get
            {
                return ConfigurationManager.AppSettings["Port_Rpc"];
            }
        }
    }
}
